import Login from "@/module/views/login/login.vue";
import Register from "@/module/views/login/register.vue";
import ResetPwd from "@/module/views/login/reset-pwd.vue";
// 常见问题
import NoFond from "@/module/views/common/404.vue";
import Setting from "@/module/views/common/setting.vue";
import Question from "@/module/views/common/question.vue";

export default [
    {
        path: "/login",
        name: "login",
        component: Login,
        meta: { noAuth: true }
    },
    {
        path: "/register",
        name: "register",
        component: Register,
        meta: { noAuth: true }
    },
    {
        path: "/resetpwd",
        name: "resetpwd",
        component: ResetPwd,
        meta: { noAuth: true }
    },
    {
        path: "/question",
        name: "question",
        component: Question
    },
    {
        path: "/setting",
        name: "setting",
        component: Setting
    },
    {
        path: "/404",
        name: "404",
        component: NoFond
    },
    // {
    //     path: "/*",
    //     redirect: "/404"
    // }
];
